package day11;

public class TestInnerInheri {
	public static void main(String[] args) {
		OuterClass.Inner oi = new ChildInner();
		oi.show();
		OuterClass oc = new OuterClass();
		OuterClass.Inner1 oi1 = new ChildInner1(oc);
		
	}
}
class OuterClass{
	static class Inner{
		public void show(){
			System.out.println("Inner show()");
		}
	}
	class Inner1{
		public void show(){
			System.out.println("Inner1 show()");
		}
	}
}
class ChildInner extends OuterClass.Inner{}
class ChildInner1 extends OuterClass.Inner1{
	public ChildInner1(OuterClass oc){
		oc.super();
	}
	public ChildInner1(OuterClass oc, String name){
		oc.super();
	}
}


